from accounts.agent.views import AgentUserListView, AgentUserCreate, AgentUserDelete, AgentUserUpdate

__author__ = '侯志文'
from django.conf.urls import patterns, url

urlpatterns = patterns('',
                       url(r'^$', AgentUserListView.as_view(), name='agent_list'),
                       url(r'^create/$', AgentUserCreate.as_view(), name='agent_create'),
                       url(r'^update/(?P<pk>\d+)/$', AgentUserUpdate.as_view(), name='agent_update'),
                       url(r'^delete/(?P<pk>\d+)/$', AgentUserDelete.as_view(), name='agent_delete'),
                       )